<?php include $this->header();?>
<?php if(false) {?>
<link rel="stylesheet" rev="stylesheet" href="../../../images/admincp/style.css" type="text/css" media="all" />
<?php }?>
<a href="<?=UE_Url::make('system/menu/add')?>" class="btn-r-top">添加菜单</a>
<form method="post">
  <div class="p1 mt bd bg">
      <table class="list rank" width="100%" cellpadding="0" cellspacing="0" border="0">
        <tr class="th">
          <td align="center">排序</td>
          <td align="center">ID</td>
          <td align="left">名称</td>
          <td width="260" align="center">URL</td>
          <td align="center">管理操作</td>
        </tr>
        <?php foreach ($this->_menu as $mnode) {?>
        <tr class="bb">
          <td width="50" align="center"><input type="text" name="menu_order[<?=$mnode['menu_id']?>]" value="<?=$mnode['menu_order']?>" size="3" style="text-align:center;"></td>
          <td width="40" align="center"><?=$mnode['menu_id']?></td>
          <td><?=$mnode['icon']?><?=$mnode['menu_name']?></td>
          <td><?=$mnode['menu_url']?></td>
          <td width="160">[<a href="<?=UE_Url::make('system/menu/add/submenu/menu_parent_id/'.$mnode['menu_id'])?>">添加子菜单</a>] [<a href="<?=UE_Url::make('system/menu/edit/'.$mnode['menu_id'])?>">编辑</a>] [<a href="<?=UE_Url::make('system/menu/del/'.$mnode['menu_id'])?>">删除</a>]</td>
        </tr>  	
        <?php }?>
      </table>
      <p style="padding:6px 10px;"><input type="submit" value="排序" class="btn"></p>
  </div>
</form>

<?php include $this->footer();?>